Configuring internal authentication
The service also supports an internal authentication mechanism. In this case, the users, passwords, and roles are defined in the file config/user_settings.xml.
If you want to enable this type of authentication, you just have to copy the example users. The default password of the given admin user is "admin".
Alternatively, you can set the password in plain text. Whenever a user changes the password, the hash value of the password is stored.
<!--
<user userId = "admin"
name = "admin"
password = "encoded-password">
<hasRoles>*</hasRoles>
<isMemberOf>*</isMemberOf>
</user>
-->
Field Descriptions
| Field | Description |
|---|---|
userId | A unique identifier of the user |
name | The human-readable name of the user |
password | A hash of the user password which is automatically set when the password is changed the first time. The initial password can also be given in plain text |
hasRoles | Contains a comma-separated list of all roles that are assigned to this user. If * is given, all configured roles are assigned |
isMemberOf | Contains a comma-separated list of all groups that are assigned to this user. If * is given, all configured roles are assigned |
info
This file is reloaded automatically if it is changed manually.